home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Format / rfc822norm / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  2.8 KB  |  124 lines

  1. # Makefile for rfc822 normalizing filter
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Format/rfc822norm/RCS/Makefile,v 6.0 1991/12/18 20:20:54 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:20:54  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  rfc822norm.c
  21. OBJS =  rfc822norm.o 
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS         = ../../h
  25. LIBPP           = ../../Lib/libpp.a
  26.  
  27. CFLAGS          = $(CCOPTIONS) $(LCF) -I$(HEADERS) -DAP_DEBUG
  28. LDFLAGS         = $(LDOPTIONS) $(LLF)
  29.  
  30. LLFLAGS         = $(LINTFLAGS) -I$(HEADERS)
  31. LINTLIBS        = ../../Lib/llib-lpp.ln $(LINTISODE)
  32.  
  33.  
  34. ############################################################
  35. #
  36. # Building Rules
  37. #
  38. ############################################################
  39.  
  40. PROGS  = xrfc822norm
  41.  
  42. default: $(PROGS)
  43.  
  44. xrfc822norm:    $(OBJS) $(LIBPP)
  45.     $(CC) $(LDFLAGS) $(OBJS) -o $@ $(LIBPP) $(LIBSYS)
  46.  
  47. install: inst-dir inst-rfc822norm
  48.  
  49. inst-rfc822norm: $(FORMDIR)/rfc822norm
  50.  
  51. $(FORMDIR)/rfc822norm: xrfc822norm
  52.              -$(BACKUP) $@ zxrfc822norm
  53.              rm -f $@           
  54.              $(INSTALL) xrfc822norm $@
  55.              -$(CHMOD) $(PGMPROT) $@
  56.              -$(CHOWN) $(PPUSER) $@
  57.              -@ls -ls $@
  58.              -@echo "rfc822norm filter installed normally"; echo ""
  59.  
  60. saber_src: $(SRCS)
  61.     #load -C $(CFLAGS) $(SRCS) $(LIBPP) $(LIBSYS)
  62.  
  63. saber_obj: $(OBJS)
  64.     #load -C $(OBJS) $(LIBPP) $(LIBSYS)
  65.  
  66. inst-dir: $(CHANDIR)
  67.  
  68. clean: tidy
  69.     rm -f $(OBJS)
  70.  
  71. tidy:
  72.     rm -f $(PROGS) core a.out *.old *.BAK zxrfc822norm
  73.  
  74.  
  75. lint: l-rfc822norm
  76.  
  77. l-rfc822norm: $(SRCS)
  78.           $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  79.  
  80. depend:
  81.     $(DEPEND) -I$(HEADERS) $(SRCS)
  82.  
  83. define:
  84.     $(DEFINE) Makefile
  85.  
  86. ############################################################
  87. #
  88. # End of Building Rules
  89. #
  90. ############################################################
  91.  
  92. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  93. # Dependencies follow
  94. rfc822norm.o: rfc822norm.c
  95. rfc822norm.o: ../../h/util.h
  96. rfc822norm.o: ../../h/config.h
  97. rfc822norm.o: ../../h/ll_log.h
  98. rfc822norm.o: ../../h/ap.h
  99. rfc822norm.o: ../../h/util.h
  100. rfc822norm.o: ../../h/alias.h
  101. rfc822norm.o: ../../h/chan.h
  102. rfc822norm.o: ../../h/table.h
  103. rfc822norm.o: ../../h/list_bpt.h
  104. rfc822norm.o: ../../h/retcode.h
  105. rfc822norm.o: ../../h/adr.h
  106. rfc822norm.o: ../../h/list_rchan.h
  107. rfc822norm.o: ../../h/chan.h
  108. rfc822norm.o: ../../h/auth.h
  109. rfc822norm.o: ../../h/list_bpt.h
  110. rfc822norm.o: ../../h/extension.h
  111. rfc822norm.o: ../../h/mta.h
  112. rfc822norm.o: ../../h/adr.h
  113. rfc822norm.o: ../../h/list_bpt.h
  114. rfc822norm.o: ../../h/aparse.h
  115. rfc822norm.o: ../../h/ap.h
  116. rfc822norm.o: ../../h/or.h
  117. rfc822norm.o: ../../h/chan.h
  118. rfc822norm.o: ../../h/auth.h
  119. rfc822norm.o: ../../h/list_rchan.h
  120.  
  121. # DEPENDENCIES MUST END AT END OF FILE
  122. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  123. # see make depend above
  124.